<template>
    <div>
        <h1>Auth !</h1>
        <br/>
        <router-link to="/test">{{msg}}</router-link>
        <router-link to="/hello">{{goback}}</router-link>

        <div>
            {{data}}
        </div>
    </div>
</template>

<script>
export default {
    name: "auth",
    data() {
        return {
            msg: 'fuck lily',
            goback: '返回',
            data: null,
        }
    },
    created() {
        this.$http.post('admin/index/index').then((data) => {
            this.data = data.data
        })

    }

}
</script>

<style scoped>
h1, h2 {
  font-weight: normal;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}
</style>
